﻿<%@ Page Language="C#" MasterPageFile="~/LTR/MlyLtrMaster.Master" AutoEventWireup="true" CodeBehind="EditMessage.aspx.cs" Inherits="MLY.LTR.EditMessage" Title='<%$Dict:EditMessage.Title%>' %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<style type="text/css"> 
    .chckBoxLst tr td input
    {
      float:right;   
    }
    .chckBoxLst tr td label
    {
      text-align:left;
      float:left;   
    }
    
</style>
    <table style="width:385px;  border:none 0px black; " border="0"   class="blueTxtBox noborder floater">
        <tr>
                <th colspan="2"  style=" height:28px; text-align:center; border:none 0px black;">
                <%--<%= MLY.Utils.currOrg.Data.OrganizationName %>--%>
                               
                <asp:Literal ID="SessionLiteral" runat="server" Text='<%# Session["OrganizationName"] %>'></asp:Literal>
                </th>
        </tr>
        <tr>
            <td  style=" width:50px;">
             <asp:Label ID="lblMsgTitle" runat="server" Text='<%$Dict:EditMessage.MsgTitle %>'></asp:Label>
            
            </td>
            <td style="width:335px;" class="floater">
                <asp:TextBox Width="99%" ID="txtMsgTitle" runat="server" ></asp:TextBox>
            </td>
          
        </tr>
        <tr>
            <td >
                <asp:Label ID="lblMsgText" runat="server" Text='<%$Dict:EditMessage.MsgText %>'></asp:Label>   
            </td>
            <td>
                <asp:TextBox ID="txtMsgText" runat="server" Width="99%" Height="77" TextMode="MultiLine"></asp:TextBox>
            </td>
            
        </tr>
        <tr>
            <td >
                    <asp:Label ID="lblDisplay" runat="server" Text='<%$Dict:EditMessage.Display %>'></asp:Label>
                    </td>
            <td>
            <uc:StyledCheckBox ID="ckDisplay" runat="server" />
             
            </td>
           
        </tr>
        <tr>
            <td >
                    <asp:Label ID="lblExpirationDate" runat="server" Text='<%$Dict:EditMessage.ExpirationDate %>'></asp:Label>
                    </td>
            <td>
                               
                <asp:TextBox ID="calExpirationDate" Width="99%" runat="server"  />
                <KBMControls:KbmCalendar  ID="sendDateCalendar"  runat="server"  
                        TargetControlID="calExpirationDate" ></KBMControls:KbmCalendar>
                  
            </td>
           
        </tr>
       
        <tr>
            <td >
                   
                <asp:Label ID="lblContractorNames" Visible="false" runat="server" Text='<%$Dict:EditMessage.ContractorNames %>'></asp:Label>
                   
          </td>
            <td > 
                <asp:CheckBoxList   TextAlign="Left" ID="CheckBoxListContractors"  CssClass="chckBoxLst"  runat="server" DataTextField="GetOrgName" DataValueField="GetOrgId" >
               
                </asp:CheckBoxList>
            </td>
          
        </tr>
       <tr>
       <td colspan="2" class="floater" style="  width:200px;  ">
       <asp:Button runat="server" CssClass="Btn smallBtn" Text='<%$Dict:EditMessage.Submit  %>' OnClick="btnOk_Click" />
       &nbsp&nbsp
       
       <asp:Button ID="Button1" runat="server" CssClass="Btn smallBtn"
        PostBackUrl="~/LTR/Messages.aspx"  Text='<%$Dict:EditMessage.Cancel%>' />
     
       </td>
       </tr>
    </table>

</asp:Content>
